﻿namespace Dhgms.Whipstaff.Core.Services
{
    /// <summary>
    /// Base class for a Feature Usage Tracking Service
    /// </summary>
    public abstract class BaseFeatureUsageTrackingService : IFeatureUsageTrackingService
    {
        /// <summary>
        /// Event for when the view is loaded
        /// </summary>
        public abstract void OnViewLoaded();

        /// <summary>
        /// Event for when the view is unloaded
        /// </summary>
        public abstract void OnViewUnloaded();

        /// <summary>
        /// Gets or sets the name of the feature to track.
        /// </summary>
        public string Name
        {
            get;
            set;
        }
    }
}
